package com.jy.oms.framework.asyn.task.executor.bo;

import com.jy.oms.framework.asyn.task.model.TaskWrapper;

import java.util.List;

/**
 * bo
 *
 * @author liuquan
 */
public class TaskPollResult {

    /**
     * 任务数量
     */
    private int taskSize;

    /**
     * 可执行任务
     */
    private List<TaskWrapper> executableTasks;

    /**
     * 排他任务
     */
    private List<TaskWrapper> exclusiveTasks;

    /**
     * 超时任务
     */
    private List<TaskWrapper> timeoutTasks;

    public int getTaskSize() {
        return taskSize;
    }

    public void setTaskSize(int taskSize) {
        this.taskSize = taskSize;
    }

    public List<TaskWrapper> getExecutableTasks() {
        return executableTasks;
    }

    public void setExecutableTasks(List<TaskWrapper> executableTasks) {
        this.executableTasks = executableTasks;
    }

    public List<TaskWrapper> getTimeoutTasks() {
        return timeoutTasks;
    }

    public void setTimeoutTasks(List<TaskWrapper> timeoutTasks) {
        this.timeoutTasks = timeoutTasks;
    }

    public List<TaskWrapper> getExclusiveTasks() {
        return exclusiveTasks;
    }

    public void setExclusiveTasks(List<TaskWrapper> exclusiveTasks) {
        this.exclusiveTasks = exclusiveTasks;
    }
}
